import java.util.Arrays;

public class Transpose {
    public static void main(String[] args) {
        int[][] a = new int[][]{{1,2,3},{4,5,6},{7,8,9}};
        Solution solution = new Solution();
        PrintArray2(solution.transpose(a));
    }
    public static void PrintArray2(int[][] Array2){
        for(int i = 0;i < Array2[0].length;i ++){
            System.out.println(Arrays.toString(Array2[i]));
        }
    }
}
